package client;

import java.util.Vector;

import client.stations.Station;

import com.google.gwt.user.client.Timer;

public class Updater extends Timer {

	private Vector stationList ;
	
	public Updater(Vector v)
	{
		this.stationList = v ;
	}
	
	public void run() 
	{
		for(int i = 0 ; i < this.stationList.size() ;  i ++ )
		{
			( (Station)this.stationList.elementAt(i) ).retrieveInfos();
		}
	}

}
